/**
 * Copyright (c) 2006 Amgad S Youssef
 * All Rights Reserved.
 * Licensed under the Eclipse Public License - v 1.0
 * For more information see http://www.eclipse.org/legal/epl-v10.html
 */
package org.eclipsejcde.core.preferences;

import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.jface.preference.IPreferenceStore;

/**
 * Class used to initialize default preference values.
 */
/**
 * @author Amgad S Youssef
 *
 */
public class JCPreferenceInitializer extends AbstractPreferenceInitializer {

	@Override
	public void initializeDefaultPreferences() {
		IPreferenceStore store = org.eclipsejcde.core.Activator.getDefault().getPreferenceStore();
		store.setDefault(JCPreferenceConstants.JAVA_CARD_PATH, "JCDK2.2.1");
		
		store.setDefault(JCPreferenceConstants.CREF_CL_OPTIONS_p, "9025");
		store.setDefault(JCPreferenceConstants.CREF_CL_OPTIONS_b, false);
		store.setDefault(JCPreferenceConstants.CREF_CL_OPTIONS_e, false);
		store.setDefault(JCPreferenceConstants.CREF_CL_OPTIONS_n, false);
		store.setDefault(JCPreferenceConstants.CREF_CL_OPTIONS_nobanner, false);
		store.setDefault(JCPreferenceConstants.CREF_CL_OPTIONS_nomeminfo, false);
		store.setDefault(JCPreferenceConstants.CREF_CL_OPTIONS_s, false);
		store.setDefault(JCPreferenceConstants.CREF_CL_OPTIONS_t, false);
		store.setDefault(JCPreferenceConstants.CREF_CL_OPTIONS_z, false);

		store.setDefault(JCPreferenceConstants.CONVERTER_CL_OPTIONS_debug, false);
		store.setDefault(JCPreferenceConstants.CONVERTER_CL_OPTIONS_exportmap, false);
		store.setDefault(JCPreferenceConstants.CONVERTER_CL_OPTIONS_i, true);
		store.setDefault(JCPreferenceConstants.CONVERTER_CL_OPTIONS_mask, false);
		store.setDefault(JCPreferenceConstants.CONVERTER_CL_OPTIONS_nobanner, false);
		store.setDefault(JCPreferenceConstants.CONVERTER_CL_OPTIONS_noverify, false);
		store.setDefault(JCPreferenceConstants.CONVERTER_CL_OPTIONS_nowarn, false);
		store.setDefault(JCPreferenceConstants.CONVERTER_CL_OPTIONS_verbose, true);
		store.setDefault(JCPreferenceConstants.CONVERTER_CL_OPTIONS_out_cap, true);
		store.setDefault(JCPreferenceConstants.CONVERTER_CL_OPTIONS_out_jca, true);
		store.setDefault(JCPreferenceConstants.CONVERTER_CL_OPTIONS_out_exp, true);

		store.setDefault(JCPreferenceConstants.JCWDE_CL_OPTIONS_p, "9025");
		store.setDefault(JCPreferenceConstants.JCWDE_CL_OPTIONS_nobanner, false);
		store.setDefault(JCPreferenceConstants.JCWDE_CL_OPTIONS_verbose, false);
	}

}
